import { Min, IsNumber, MaxLength, IsString, MinLength } from "class-validator";

export default class ResetPwdDto{
    
    @Min(1)
    @IsNumber()
    id:number

    @MaxLength(30)
    @MinLength(6)
    @IsString()
    password:string;
}